PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Gradient / LuxXx - The Next Evolution (spunmonkey).milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=0 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.140 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.002 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=6 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=2.630 |
| 27 | fWaveSmoothing=0.360 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00016 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00022 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.100 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.060 |
| 54 | ib_size=0.035 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.450 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.290 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=1 |
| 128 | shapecode_0_sides=44 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.03347 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=1.000 |
| 141 | shapecode_0_b=1.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=1.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=1.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.000 |
| 151 | shape_0_init1=fran = 1; |
| 152 | shape_0_init2=xs = 1; |
| 153 | shape_0_init3=ys = 1; |
| 154 | shape_0_init4=xm = 0.5; |
| 155 | shape_0_init5=ym = 0.5; |
| 156 | shape_0_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 157 | shape_0_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 158 | shape_0_per_frame3= |
| 159 | shape_0_per_frame4=xm = xm + 0.03*xs*(sin(time*0.53)*0.4 + 0.6*cos(time*0.62)); |
| 160 | shape_0_per_frame5=ym = ym + 0.03*ys*(sin(time*0.29)*0.5 + 0.5*cos(time*0.78)); |
| 161 | shape_0_per_frame6= |
| 162 | shape_0_per_frame7=x = xm; |
| 163 | shape_0_per_frame8=y = ym; |
| 164 | shape_0_per_frame9= |
| 165 | shape_0_per_frame10=r = 0.5 + 0.25*sin(x*12) + 0.25*sin(y*3); |
| 166 | shape_0_per_frame11=g = 0.5 + 0.25*sin(x*7) + 0.25*sin(y*32); |
| 167 | shape_0_per_frame12=b = 0.5 + 0.25*sin(x*21) + 0.25*sin(y*16); |
| 168 | shape_0_per_frame13=r2 = r; g2 = g; b2 = b; |
| 169 | shape_0_per_frame14=rad = 0.2*(bass_att + mid_att + treb_att)/3; |
| 170 | shapecode_1_enabled=1 |
| 171 | shapecode_1_sides=44 |
| 172 | shapecode_1_additive=0 |
| 173 | shapecode_1_thickOutline=0 |
| 174 | shapecode_1_textured=0 |
| 175 | shapecode_1_num_inst=1 |
| 176 | shapecode_1_x=0.500 |
| 177 | shapecode_1_y=0.500 |
| 178 | shapecode_1_rad=0.03347 |
| 179 | shapecode_1_ang=0.00000 |
| 180 | shapecode_1_tex_ang=0.00000 |
| 181 | shapecode_1_tex_zoom=1.00000 |
| 182 | shapecode_1_r=1.000 |
| 183 | shapecode_1_g=1.000 |
| 184 | shapecode_1_b=1.000 |
| 185 | shapecode_1_a=1.000 |
| 186 | shapecode_1_r2=1.000 |
| 187 | shapecode_1_g2=1.000 |
| 188 | shapecode_1_b2=1.000 |
| 189 | shapecode_1_a2=0.000 |
| 190 | shapecode_1_border_r=1.000 |
| 191 | shapecode_1_border_g=1.000 |
| 192 | shapecode_1_border_b=1.000 |
| 193 | shapecode_1_border_a=0.000 |
| 194 | shape_1_init1=fran = 1; |
| 195 | shape_1_init2=xs = 1; |
| 196 | shape_1_init3=ys = 1; |
| 197 | shape_1_init4=xm = 0.5; |
| 198 | shape_1_init5=ym = 0.5; |
| 199 | shape_1_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 200 | shape_1_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 201 | shape_1_per_frame3= |
| 202 | shape_1_per_frame4=xm = xm + 0.03*xs*(sin(time*0.53)*0.6 + 0.4*cos(time*0.62)); |
| 203 | shape_1_per_frame5=ym = ym + 0.03*ys*(sin(time*0.29)*0.7 + 0.3*cos(time*0.78)); |
| 204 | shape_1_per_frame6= |
| 205 | shape_1_per_frame7=x = xm; |
| 206 | shape_1_per_frame8=y = ym; |
| 207 | shape_1_per_frame9= |
| 208 | shape_1_per_frame10=r = 0.5 + 0.25*sin(x*12) + 0.25*sin(y*3); |
| 209 | shape_1_per_frame11=g = 0.5 + 0.25*sin(x*7) + 0.25*sin(y*32); |
| 210 | shape_1_per_frame12=b = 0.5 + 0.25*sin(x*21) + 0.25*sin(y*16); |
| 211 | shape_1_per_frame13=r2 = r; g2 = g; b2 = b; |
| 212 | shape_1_per_frame14=rad = 0.2*(bass_att + mid_att + treb_att)/3; |
| 213 | shapecode_2_enabled=0 |
| 214 | shapecode_2_sides=44 |
| 215 | shapecode_2_additive=0 |
| 216 | shapecode_2_thickOutline=0 |
| 217 | shapecode_2_textured=0 |
| 218 | shapecode_2_num_inst=1 |
| 219 | shapecode_2_x=0.500 |
| 220 | shapecode_2_y=0.500 |
| 221 | shapecode_2_rad=0.03347 |
| 222 | shapecode_2_ang=0.00000 |
| 223 | shapecode_2_tex_ang=0.00000 |
| 224 | shapecode_2_tex_zoom=1.00000 |
| 225 | shapecode_2_r=1.000 |
| 226 | shapecode_2_g=1.000 |
| 227 | shapecode_2_b=1.000 |
| 228 | shapecode_2_a=1.000 |
| 229 | shapecode_2_r2=1.000 |
| 230 | shapecode_2_g2=1.000 |
| 231 | shapecode_2_b2=1.000 |
| 232 | shapecode_2_a2=0.000 |
| 233 | shapecode_2_border_r=1.000 |
| 234 | shapecode_2_border_g=1.000 |
| 235 | shapecode_2_border_b=1.000 |
| 236 | shapecode_2_border_a=0.000 |
| 237 | shape_2_init1=fran = 1; |
| 238 | shape_2_init2=xs = 1; |
| 239 | shape_2_init3=ys = 1; |
| 240 | shape_2_init4=xm = 0.5; |
| 241 | shape_2_init5=ym = 0.5; |
| 242 | shape_2_per_frame1=xs = xs*(1 - 2*above(xm,0.99) - 2*below(xm,0.01)); |
| 243 | shape_2_per_frame2=ys = ys*(1 - 2*above(ym,0.99) - 2*below(ym,0.01)); |
| 244 | shape_2_per_frame3= |
| 245 | shape_2_per_frame4=xm = xm + 0.03*xs*(sin(time*0.35)*0.5 + 0.5*cos(time*0.87)); |
| 246 | shape_2_per_frame5=ym = ym + 0.03*ys*(sin(time*0.92)*0.3 + 0.7*cos(time*0.26)); |
| 247 | shape_2_per_frame6= |
| 248 | shape_2_per_frame7=x = xm; |
| 249 | shape_2_per_frame8=y = ym; |
| 250 | shape_2_per_frame9= |
| 251 | shape_2_per_frame10=r = 0.5 + 0.5*sin(time*0.25); |
| 252 | shape_2_per_frame11=g = 0.5 + abs(r)*sin(time*0.5); |
| 253 | shape_2_per_frame12=b = 0.5 + abs(g)*sin(time); |
| 254 | shape_2_per_frame13=r2 = r; g2 = g; b2 = b; |
| 255 | shape_2_per_frame14=rad = 1.6*(bass_att + mid_att + treb_att)/3; |
| 256 | shapecode_3_enabled=0 |
| 257 | shapecode_3_sides=4 |
| 258 | shapecode_3_additive=0 |
| 259 | shapecode_3_thickOutline=0 |
| 260 | shapecode_3_textured=0 |
| 261 | shapecode_3_num_inst=1 |
| 262 | shapecode_3_x=0.500 |
| 263 | shapecode_3_y=0.500 |
| 264 | shapecode_3_rad=0.10000 |
| 265 | shapecode_3_ang=0.00000 |
| 266 | shapecode_3_tex_ang=0.00000 |
| 267 | shapecode_3_tex_zoom=1.00000 |
| 268 | shapecode_3_r=1.000 |
| 269 | shapecode_3_g=0.000 |
| 270 | shapecode_3_b=0.000 |
| 271 | shapecode_3_a=1.000 |
| 272 | shapecode_3_r2=0.000 |
| 273 | shapecode_3_g2=1.000 |
| 274 | shapecode_3_b2=0.000 |
| 275 | shapecode_3_a2=0.000 |
| 276 | shapecode_3_border_r=1.000 |
| 277 | shapecode_3_border_g=1.000 |
| 278 | shapecode_3_border_b=1.000 |
| 279 | shapecode_3_border_a=0.100 |
| 280 | per_frame_init_1=dle=1; |
| 281 | per_frame_1=// timed sidon sensor |
| 282 | per_frame_2=// le = signal level; desired average value = 2 |
| 283 | per_frame_3=le=1.4*bass_att+.1*bass+.5*treb; |
| 284 | per_frame_4=pulse=above(le,th); |
| 285 | per_frame_5=// pulsefreq = running average of interval between last 5 pulses |
| 286 | per_frame_6=pulsefreq=if(equal(pulsefreq,0),2, |
| 287 | per_frame_7=if(pulse,.8*pulsefreq+.2*(time-lastpulse),pulsefreq)); |
| 288 | per_frame_8=lastpulse=if(pulse,time,lastpulse); |
| 289 | per_frame_9=// bt = relative time; 0 = prev beat; 1 = expected beat |
| 290 | per_frame_10=bt=(time-lastbeat)/(.5*beatfreq+.5*pulsefreq); |
| 291 | per_frame_11=// hccp = handcicap for th driven by bt |
| 292 | per_frame_12=hccp=(.03/(bt+.2))+.5*if(band(above(bt,.8),below(bt,1.2)), |
| 293 | per_frame_13=(pow(sin((bt-1)*7.854),4)-1),0); |
| 294 | per_frame_14=beat=band(above(le,th+hccp),btblock); |
| 295 | per_frame_15=btblock=1-above(le,th+hccp); |
| 296 | per_frame_16=lastbeat=if(beat,time,lastbeat); |
| 297 | per_frame_17=beatfreq=if(equal(beatfreq,0),2, |
| 298 | per_frame_18=if(beat,.8*beatfreq+.2*(time-lastbeat),beatfreq)); |
| 299 | per_frame_19=// th = threshold |
| 300 | per_frame_20=th=if(above(le,th),le+114/(le+10)-7.407, |
| 301 | per_frame_21=th+th*.07/(th-12)+below(th,2.7)*.1*(2.7-th)); |
| 302 | per_frame_22=th=if(above(th,6),6,th); |
| 303 | per_frame_23=thccl=thccl+(th-2.5144); |
| 304 | per_frame_24= |
| 305 | per_frame_25=q1=le; |
| 306 | per_frame_26=q2=thccl+.2*leccl; |
| 307 | per_frame_27=leccl=leccl+dle*le; |
| 308 | per_frame_28=dle=if(beat,-dle,dle); |
| 309 | per_frame_29=bccl=bccl+beat; |
| 310 | per_frame_30= |
| 311 | per_frame_31=wave_r=.1+.8*sqr(sin(.011*thccl))+.1*sin(leccl*.061); |
| 312 | per_frame_32=wave_g=.1+.8*sqr(sin(.013*thccl))+.1*cos(leccl*.067); |
| 313 | per_frame_33=wave_b=.1+.8*sqr(cos(.017*thccl))+.1*sin(leccl*.065); |
| 314 | per_frame_34= |
| 315 | per_frame_35=ib_r=ib_r+.1*sin(1.3*time+.012*leccl); |
| 316 | per_frame_36=ib_g=ib_g+.1*sin(1.7*time+.019*leccl); |
| 317 | per_frame_37=ib_b=ib_b+.1*sin(1.9*time+.017*leccl); |
| 318 | per_frame_38=mv_r=.5*(ib_r+wave_r);mv_g=.5*(ib_g+wave_g);mv_b=.5*(ib_b+wave_b); |
| 319 | per_frame_39=mv_a=.5*sqr(sin(.01*leccl+bccl)); |
| 320 | per_frame_40= |
| 321 | per_frame_41=echo_alpha=.5+.2*cos(.07*leccl+.02*thccl); |
| 322 | per_frame_42=eo=if(band(equal(bccl%3,0),beat),rand(4),eo); |
| 323 | per_frame_43=q3=(equal(eo,2)+equal(eo,1))*equal(bccl%2,0); |
| 324 | per_frame_44=q4=(equal(eo,0)+equal(eo,3))*equal(bccl%2,0); |
| 325 | per_frame_45=echo_orient=eo; |
| 326 | per_pixel_1=dqv=above(x,.5)-above(y,.5); |
| 327 | per_pixel_2=rot=sin(sin(rad*(13+5*sin(.01*q2))+.06*q2)*q1*.01); |
| 328 | per_pixel_3=zoom=1+if(q3,dqv,1)*.1*sin(7*ang+.03*q2); |
| 329 | per_pixel_4=zoom=if(q4,if(below(rad,.8*sqr(sin(.016*q2))),.75+.4*cos(.021*q2),zoom),zoom); |
| 330 | comp_1=`// tribute to suksma! |
| 331 | comp_2=` |
| 332 | comp_3=`shader_body |
| 333 | comp_4=`{ |
| 334 | comp_5=` float2 uv2; |
| 335 | comp_6=` |
| 336 | comp_7=` float4 c = float4(1,0.04,0.15,0.01); |
| 337 | comp_8=` |
| 338 | comp_9=` uv2 = uv + float2(1.05,.97)*texsize.zw; |
| 339 | comp_10=` float gx1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 340 | comp_11=` uv2 = uv + float2(1,0)*texsize.zw; |
| 341 | comp_12=` float gx2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 342 | comp_13=` |
| 343 | comp_14=` uv2 = uv + float2(.95,.95); |
| 344 | comp_15=` float gy1 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 345 | comp_16=` uv2 = uv + float2(0,-1)*texsize.zw; |
| 346 | comp_17=` float gy2 = GetPixel(uv2)*c.x + GetBlur1(uv2)*c.y + GetBlur2(uv2)*c.z + GetBlur3(uv2)*c.w; |
| 347 | comp_18=` |
| 348 | comp_19=` float3 g = normalize(float3(gx1-gx2, gy1-gy2, 0.14)); |
| 349 | comp_20=` |
| 350 | comp_21=` ret = 0.5 + 0.5*g; |
| 351 | comp_22=` ret *= saturate(length(ret.xy-0.5)*5); |
| 352 | comp_23=` ret = ret.xxy; |
| 353 | comp_24=` ret += 1.15; |
| 354 | comp_25=` ret *= lerp(ret,ret*(GetBlur3(uv)-GetBlur1(uv)*treb_att),pow(hue_shader.xzy,bass_att)); |
| 355 | comp_26=` ret *= ret; |
| 356 | comp_27=` |
| 357 | comp_28=` //ret *= .5*cos(ret)*sin(ret); //old gamma effect |
| 358 | comp_29=`} |